home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Reference / Tech Tour ß1.0 / Tech Tour fl1.0 / card_13740.txt < prev    next >
Encoding:
Text File  |  1988-03-21  |  4.3 KB  |  209 lines

  1. -- card: 13740 from stack: in.0
  2. -- bmap block id: 25763
  3. -- flags: 0000
  4. -- background id: 2805
  5. -- name: Dialog Manager
  6. ----- HyperTalk script -----
  7. on opencard
  8.   hide background field 2
  9. end opencard
  10.  
  11.  
  12.  
  13.  
  14. -- part 1 (field)
  15. -- low flags: 00
  16. -- high flags: 0000
  17. -- rect: left=16 top=42 right=226 bottom=504
  18. -- title width / last selected line: 0
  19. -- icon id / first selected line: 0 / 0
  20. -- text alignment: 0
  21. -- font id: 156
  22. -- text size: 12
  23. -- style flags: 0
  24. -- line height: 16
  25. -- part name: 
  26.  
  27.  
  28. -- part 2 (button)
  29. -- low flags: 00
  30. -- high flags: 8003
  31. -- rect: left=294 top=175 right=194 bottom=360
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 0 / 0
  34. -- text alignment: 1
  35. -- font id: 0
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: Cancel
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.   set lockscreen to true
  43.   repeat with all is 1 to number of card buttons
  44.     hide card button all
  45.   end repeat
  46.   show card field 2
  47.   show card button 3
  48.   set lockscreen to false
  49. end mouseUp
  50.  
  51.  
  52.  
  53. -- part 4 (button)
  54. -- low flags: 00
  55. -- high flags: 8003
  56. -- rect: left=294 top=196 right=215 bottom=360
  57. -- title width / last selected line: 0
  58. -- icon id / first selected line: 0 / 0
  59. -- text alignment: 1
  60. -- font id: 0
  61. -- text size: 12
  62. -- style flags: 0
  63. -- line height: 16
  64. -- part name: OK
  65. ----- HyperTalk script -----
  66. on mouseUp
  67.   set lockscreen to true
  68.   repeat with all is 1 to number of card buttons
  69.     hide card button all
  70.   end repeat
  71.   show card field 2
  72.   show card button 3
  73.   set lockscreen to false
  74. end mouseUp
  75.  
  76.  
  77.  
  78. -- part 5 (field)
  79. -- low flags: 80
  80. -- high flags: 0002
  81. -- rect: left=130 top=172 right=271 bottom=363
  82. -- title width / last selected line: 0
  83. -- icon id / first selected line: 0 / 0
  84. -- text alignment: 0
  85. -- font id: 3
  86. -- text size: 12
  87. -- style flags: 256
  88. -- line height: 16
  89. -- part name: 
  90.  
  91.  
  92. -- part 6 (button)
  93. -- low flags: 80
  94. -- high flags: 8003
  95. -- rect: left=309 top=249 right=268 bottom=359
  96. -- title width / last selected line: 0
  97. -- icon id / first selected line: 0 / 0
  98. -- text alignment: 1
  99. -- font id: 0
  100. -- text size: 12
  101. -- style flags: 0
  102. -- line height: 16
  103. -- part name: OK
  104. ----- HyperTalk script -----
  105. on mouseUp
  106.   hide card button 3
  107.   hide card field 2
  108.   show card button 1
  109.   show card button 2
  110.   show card button 6
  111.   show card button 4
  112.   show card button 5
  113. end mouseUp
  114.  
  115.  
  116.  
  117. -- part 7 (button)
  118. -- low flags: 00
  119. -- high flags: 8006
  120. -- rect: left=134 top=195 right=212 bottom=278
  121. -- title width / last selected line: 0
  122. -- icon id / first selected line: 0 / 0
  123. -- text alignment: 1
  124. -- font id: 0
  125. -- text size: 12
  126. -- style flags: 0
  127. -- line height: 16
  128. -- part name: 8 1/2" X 11" paper
  129. ----- HyperTalk script -----
  130. on mouseUp
  131.   set lockscreen to true
  132.   repeat with all is 1 to number of card buttons
  133.     hide card button all
  134.   end repeat
  135.   show card field 2
  136.   show card button 3
  137.   set lockscreen to false
  138. end mouseUp
  139.  
  140.  
  141.  
  142. -- part 8 (button)
  143. -- low flags: 00
  144. -- high flags: 8006
  145. -- rect: left=134 top=215 right=232 bottom=278
  146. -- title width / last selected line: 0
  147. -- icon id / first selected line: 0 / 0
  148. -- text alignment: 1
  149. -- font id: 0
  150. -- text size: 12
  151. -- style flags: 0
  152. -- line height: 16
  153. -- part name: 8 1/2" X 14" paper
  154. ----- HyperTalk script -----
  155. on mouseUp
  156.   set lockscreen to true
  157.   repeat with all is 1 to number of card buttons
  158.     hide card button all
  159.   end repeat
  160.   show card field 2
  161.   show card button 3
  162.   set lockscreen to false
  163. end mouseUp
  164.  
  165.  
  166.  
  167. -- part 9 (button)
  168. -- low flags: 00
  169. -- high flags: 8005
  170. -- rect: left=134 top=233 right=250 bottom=351
  171. -- title width / last selected line: 0
  172. -- icon id / first selected line: 0 / 0
  173. -- text alignment: 1
  174. -- font id: 0
  175. -- text size: 12
  176. -- style flags: 0
  177. -- line height: 16
  178. -- part name: Stop printing after each page
  179. ----- HyperTalk script -----
  180. on mouseUp
  181.   set lockscreen to true
  182.   repeat with all is 1 to number of card buttons
  183.     hide card button all
  184.   end repeat
  185.   show card field 2
  186.   show card button 3
  187.   set lockscreen to false
  188. end mouseUp
  189.  
  190.  
  191.  
  192. -- part contents for background part 6
  193. ----- text -----
  194. Dialog Manager
  195.  
  196. -- part contents for card part 1
  197. ----- text -----
  198. The Dialog Manager is a tool for handling dialogs and alerts in a particular way that's consistent with the Macintosh User Interface Guidelines.  
  199.  
  200. A dialog box comes up on the screen when an application needs more information to carry out a command.
  201.  
  202. -- part contents for card part 5
  203. ----- text -----
  204.  
  205.    No silly, this is only a 
  206.    Sample Dialog Box !
  207.  
  208.  
  209.